package com.design.yjx.singleton;

/**
 * @author yuanjianxin
 * @date 2017/8/3 18:25
 * 单例模式：饿汉模式
 */
public class People {
    private static People people = new People();

    private People(){}

    public static People getInstance(){
        return people;
    }
}
